package com.bdqn.BookManage.biz.impl;

import com.bdqn.BookManage.biz.OrderSettlementsBiz;
import com.bdqn.BookManage.dao.OrderSettlementsDao;
import com.bdqn.BookManage.dao.impl.OrderSettlementsDaoImpl;
import com.bdqn.BookManage.po.OrderSettlements;

/**
 * @author : CP
 * @version: 1.0
 * @program : BookManage
 * @description : 订单结算业务接口实现类
 * @date : 2020-07-31 15:10
 **/
public class OrderSettlementsBizImpl implements OrderSettlementsBiz {
    OrderSettlementsDao orderSettlementsBiz = new OrderSettlementsDaoImpl();

    @Override
    public boolean add(OrderSettlements orderSettlements) {
        return orderSettlementsBiz.add(orderSettlements);
    }

    @Override
    public OrderSettlements queryById(String id) {
        return orderSettlementsBiz.queryById(id);
    }

    @Override
    public boolean amend(OrderSettlements orderSettlements) {
        return orderSettlementsBiz.amend(orderSettlements);
    }
}
